package com.staginfo.segs.ui.activity;

import android.content.Intent;
import android.view.View;

import com.staginfo.segs.R;
import com.staginfo.segs.base.BaseActivity;

import butterknife.OnClick;

/**
 * Created by Lzz on 9/17/2017.
 */

public class DevDetailsActivity extends BaseActivity {

    @Override
    public int getLayout() {
        return R.layout.activity_devinfo;
    }


    @Override
    public void initView() {
        super.initView();

    }

    @Override
    public void initData() {
        super.initData();

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }



    @OnClick({R.id.back, R.id.tv_navigation})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.tv_navigation:
                // 携带该设备经纬度 到导航界面
                Intent intent = new Intent(this,MapActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}
